import request from '@/utils/request'

// 查询标的信息列表
export function listSymbolsinfo(query) {
  return request({
    url: '/business/symbolsinfo/list',
    method: 'get',
    params: query
  })
}

// 查询标的信息详细
export function getSymbolsinfo(id) {
  return request({
    url: '/business/symbolsinfo/' + id,
    method: 'get'
  })
}

// 新增标的信息
export function addSymbolsinfo(data) {
  return request({
    url: '/business/symbolsinfo',
    method: 'post',
    data: data
  })
}

// 修改标的信息
export function updateSymbolsinfo(data) {
  return request({
    url: '/business/symbolsinfo',
    method: 'put',
    data: data
  })
}

// 删除标的信息
export function delSymbolsinfo(id) {
  return request({
    url: '/business/symbolsinfo/' + id,
    method: 'delete'
  })
}
